﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WenjuanStatics.aspx.cs" Inherits="CSM.Views.Wenjuan.WenjuanStatics" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:Panel ID="Panel_Browse" runat="server">
            <asp:LinkButton ID="LinkButton_First" runat="server" CommandArgument="First" 
                OnClick="MyClick"><img 
                                src = "../../App_Themes/Default_1/Images/Page_First.gif" class = "Page_First"
                                alt = "首页" /></asp:LinkButton>
            <asp:LinkButton ID="LinkButton_Prev" runat="server" CommandArgument="Prev" 
                OnClick="MyClick"><img  
                                src = "../../App_Themes/Default_1/Images/Page_Prev.gif" class = "Page_Prev"  
                                alt = "上页"/></asp:LinkButton>
            <asp:LinkButton ID="LinkButton_Next" runat="server" CommandArgument="Next" 
                OnClick="MyClick"><img  
                                src = "../../App_Themes/Default_1/Images/Page_Next.gif"  class = "Page_Next"  
                                alt = "下页"/></asp:LinkButton>
            <asp:LinkButton ID="LinkButton_Last" runat="server" CommandArgument="Last" 
                OnClick="MyClick"><img   
                                src = "../../App_Themes/Default_1/Images/Page_Last.gif" class = "Page_Last" 
                                alt = "末页"/></asp:LinkButton>
            <asp:Label ID="Label_Total" runat="server" SkinID="Label" Text="共："></asp:Label>
            <asp:Label ID="Label_CurrenPageAndTo" runat="server" SkinID="Label" 
                Text="页，当前第 页，转到"></asp:Label>
            <asp:TextBox ID="TextBox_PageIndex" runat="server" Width="26px"></asp:TextBox>
            <asp:Label ID="Label4" runat="server" SkinID="Label" Text="页"></asp:Label>
            <asp:RangeValidator ID="RangeValidator_PageIndex" runat="server" 
                ControlToValidate="TextBox_PageIndex" ErrorMessage="*" MaximumValue="10000" 
                MinimumValue="1" Type="Integer"></asp:RangeValidator>
            <asp:Button ID="Button_PageGo" runat="server" CommandArgument="GotoPage" 
                OnClick="MyClick" SkinID="Button" Text="GO" />
            <asp:GridView ID="GridView_Statics" runat="server" AutoGenerateColumns="False" 
                SkinID="gridview">
                <Columns>
                    <asp:BoundField DataField="StatID" HeaderText="问卷ID" ReadOnly="True" 
                        SortExpression="问卷ID" />
                    <asp:BoundField DataField="statName" HeaderText="问卷名称" ReadOnly="True" 
                        SortExpression="问卷名称" />
                    <asp:BoundField DataField="Num" HeaderText="已答问卷总份数" ReadOnly="True" 
                        SortExpression="已答问卷总份数" />
                    <asp:TemplateField>
                        <ItemTemplate>
                            <asp:Button ID="Button_Statics" runat="server" 
                                CommandArgument='<%# Eval("StatID") %>' OnCommand="Button_Statics_Command"
                                SkinID="Button" Text="问卷统计" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </asp:Panel>
        <asp:HiddenField ID="CurrentPage" runat="server" Value="0" />
    </form>
</body>
</html>
